//
//  HRPermanentThread.h
//  runloop让线程保活封装版
//
//  Created by Hello Cai on 2021/7/27.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface HRPermanentThread : NSObject
//结束线程
-(void)stop;
//在当前线程中执行一个任务
-(void)executeBlock:(void (^)(void))block;
@end

NS_ASSUME_NONNULL_END
